package com.tocean.demo.entity.Attr;


import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.experimental.Accessors;
import lombok.extern.slf4j.Slf4j;

import java.util.Date;

@ApiModel("统一返回对象")
@Slf4j
@Data
@Accessors(chain = true)
public class Examination1 {
    private Long id;

    private Long cid;

    private String content;

    private String answer;

    private String tagname;

    private Date starttime;

    private Date endtime;

    /**
     *选的答案
     */
    private String choice;



    public Examination1(Long id, Long cid, String content , String answer, String tagname){
        this.id = id;
        this.cid = cid;
        this.content = content;
        this.answer = answer;
        this.tagname = tagname;
    }
    public Examination1(Long id, Long cid, String content , String answer, String tagname, Date starttime, Date endtime){
        this.id = id;
        this.cid = cid;
        this.content = content;
        this.answer = answer;
        this.tagname = tagname;
        this.starttime = starttime;
        this.endtime = endtime;
    }

}
